package cn.zjutleo.village_server.annotation;

import java.lang.annotation.*;

/**
 * @author : Fu Lantian
 * @date : Created in 2021/11/17
 * @description: 访问次数限制注解
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RequestLimit {

    int amount() default 30;

    int time() default 60;
}
